package com.doumuxie;

import com.doumuxie.frame.MainFrame;
import com.doumuxie.frame.ProductConsumeFrame;

import javax.swing.*;

/**
 * @author doumuxie https://gitee.com/doumuxie/
 * @version 1.0
 * @date 2020/9/26 9:07
 * @description 主启动类
 **/
public class Main {

    public static void main(String[] args) throws Exception {
        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
        ProductConsumeFrame childFrame = new ProductConsumeFrame();
        childFrame.setVisible(true);
        childFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//        MainFrame mainFrame = new MainFrame();
//        mainFrame.setVisible(true);
//        mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
}
